package org.dochandler.test.populator;

import org.dochandler.service.domain.SituationOfState;
import org.dochandler.service.domain.constants.Constants;
import org.esfinge.guardian.annotation.config.PopulatorClass;
import org.esfinge.guardian.context.AuthorizationContext;
import org.esfinge.guardian.populator.Populator;

@PopulatorClass(SituationOfStateTestPopulator.class)
public class SituationOfStateTestPopulator implements Populator {

	@Override
	public void populate(AuthorizationContext context) {
		context.getEnvironment().put( Constants.SITUATION_OF_STATE, SituationOfState.WAR );
	}
}
